# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=py3-rich-rst
_pyname=${pkgname#py3-}
pkgver=1.1.7
pkgrel=2
pkgdesc="reStructuredText renderer for rich"
url="https://rich-rst.readthedocs.io/en/latest/"
arch="noarch"
license="MIT"
depends="python3 py3-rich"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/wasi-master/rich-rst/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # no testsuite

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
bcf59f84bca544351eedff7dee134a98b00bf838e19cb307fe99a2c86152477d175e3de3b70f4b5ee58296051318923d467de0f8e9303b1bc69876706781ea1a  py3-rich-rst-1.1.7.tar.gz
"
